﻿using System;

namespace SwyishChess.Domain.Board
{
    /// <summary>
    /// Represents a block in a chess board.
    /// Extends Block class
    /// </summary>
    public class ChessBlock
    {
        /// <summary>
        /// To indicate whether to highlight based on the location in the gameboard
        /// </summary>
        public string Color { get; set; }

        /// <summary>
        /// Boolean value indicating whether the block is available to be moved by a chses piece
        /// </summary>
        public bool IsAvailableForMove { get; set; }

        /// <summary>
        /// Overloaded constructor to set default state of IsAvailableForMove
        /// </summary>
        public ChessBlock()
        {
            IsAvailableForMove = false;
        }
    }
}
